<?php
if(isset($menu))
{

switch ($menu)
{
case "home":
  //menu for home
    ?>
<!--  start nav -->
		<div class="nav" style="width:900px;">
		<div class="table" >
		
		<ul class="current">
        <li><a href="<?=base_url()?>admin"><span>Beranda</span></a>
		</li>
		</ul>
		
		<div class="nav-divider">&nbsp;</div>
		                    
		<ul class="select">
        <li><a href="<?=base_url()?>admin/room"><span>Kamar</span></a>
		
		</li>
		</ul>
		
		<div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/staff"><span>Staff</span></a>
		</li>
		</ul>

		<div class="nav-divider">&nbsp;</div>
		
<ul class="select"><li><a href="<?=base_url()?>admin/restaurant"><span>Restaurant</span></a>
		</li>
		</ul>
		
		
		<div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/laundry"><span>Laundry </span></a>
		</li>
		</ul>
                
                <div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/massage"><span>Massage</span></a>
		</li>
		</ul>
		
		<div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/utility"><span>Utility</span></a>
		</li>
		</ul>
               
                
                <div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/log"><span>Log</span></a>
		</li>
		</ul>

		<div class="clear"></div>
		</div>
		<div class="clear"></div>
		</div>
		

<?php
    
  break;
case "room":
  ?>
<!--  start nav -->
		<div class="nav" style="width:900px;">
		<div class="table" >
		
		<ul class="select">
        <li><a href="<?=base_url()?>admin"><span>Beranda</span></a>
		</li>
		</ul>
		
		<div class="nav-divider">&nbsp;</div>
		                    
		<ul class="current">
        <li><a href="<?=base_url()?>admin/room"><span>Kamar</span></a>
		
		</li>
		</ul>
		
		<div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/staff"><span>Staff</span></a>
		</li>
		</ul>

		<div class="nav-divider">&nbsp;</div>
		
<ul class="select"><li><a href="<?=base_url()?>admin/restaurant"><span>Restaurant</span></a>
		</li>
		</ul>
		
		
		<div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/laundry"><span>Laundry </span></a>
		</li>
		</ul>
                
                <div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/massage"><span>Massage</span></a>
		</li>
		</ul>
		
		<div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/utility"><span>Utility</span></a>
		</li>
		</ul>
               
                
                <div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/log"><span>Log</span></a>
		</li>
		</ul>

		<div class="clear"></div>
		</div>
		<div class="clear"></div>
		</div>
    
<?php
  break;

case "staff":
  ?>
<!--  start nav -->
		<div class="nav" style="width:900px;">
		<div class="table" >
		
		<ul class="select">
        <li><a href="<?=base_url()?>admin"><span>Beranda</span></a>
		</li>
		</ul>
		
		<div class="nav-divider">&nbsp;</div>
		                    
		<ul class="select">
        <li><a href="<?=base_url()?>admin/room"><span>Kamar</span></a>
		
		</li>
		</ul>
		
		<div class="nav-divider">&nbsp;</div>
		
		<ul class="current"><li><a href="<?=base_url()?>admin/staff"><span>Staff</span></a>
		</li>
		</ul>

		<div class="nav-divider">&nbsp;</div>
		
<ul class="select"><li><a href="<?=base_url()?>admin/restaurant"><span>Restaurant</span></a>
		</li>
		</ul>
		
		
		<div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/laundry"><span>Laundry </span></a>
		</li>
		</ul>
                
                <div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/massage"><span>Massage</span></a>
		</li>
		</ul>
		
		<div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/utility"><span>Utility</span></a>
		</li>
		</ul>
               
                
                <div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/log"><span>Log</span></a>
		</li>
		</ul>

		<div class="clear"></div>
		</div>
		<div class="clear"></div>
		</div>

<?php
  break;

case "restaurant":
  ?>
<!--  start nav -->
		<div class="nav" style="width:900px;">
		<div class="table" >
		
		<ul class="select">
        <li><a href="<?=base_url()?>admin"><span>Beranda</span></a>
		</li>
		</ul>
		
		<div class="nav-divider">&nbsp;</div>
		                    
		<ul class="select">
        <li><a href="<?=base_url()?>admin/room"><span>Kamar</span></a>
		
		</li>
		</ul>
		
		<div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/staff"><span>Staff</span></a>
		</li>
		</ul>

		<div class="nav-divider">&nbsp;</div>
		
<ul class="current"><li><a href="<?=base_url()?>admin/restaurant"><span>Restaurant</span></a>
		</li>
		</ul>
		
		
		<div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/laundry"><span>Laundry </span></a>
		</li>
		</ul>
                
                <div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/massage"><span>Massage</span></a>
		</li>
		</ul>
		
		<div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/utility"><span>Utility</span></a>
		</li>
		</ul>
               
                
                <div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/log"><span>Log</span></a>
		</li>
		</ul>

		<div class="clear"></div>
		</div>
		<div class="clear"></div>
		</div>
<?php
  break;

case "laundry":
    ?>
            <!--  start nav -->
		<div class="nav" style="width:900px;">
		<div class="table" >
		
		<ul class="select">
        <li><a href="<?=base_url()?>admin"><span>Beranda</span></a>
		</li>
		</ul>
		
		<div class="nav-divider">&nbsp;</div>
		                    
		<ul class="select">
        <li><a href="<?=base_url()?>admin/room"><span>Kamar</span></a>
		
		</li>
		</ul>
		
		<div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/staff"><span>Staff</span></a>
		</li>
		</ul>

		<div class="nav-divider">&nbsp;</div>
		
<ul class="select"><li><a href="<?=base_url()?>admin/restaurant"><span>Restaurant</span></a>
		</li>
		</ul>
		
		
		<div class="nav-divider">&nbsp;</div>
		
		<ul class="current"><li><a href="<?=base_url()?>admin/laundry"><span>Laundry </span></a>
		</li>
		</ul>
                
                <div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/massage"><span>Massage</span></a>
		</li>
		</ul>
		
		<div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/utility"><span>Utility</span></a>
		</li>
		</ul>
               
                
                <div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/log"><span>Log</span></a>
		</li>
		</ul>

		<div class="clear"></div>
		</div>
		<div class="clear"></div>
		</div>
   
 <?php
    break;

case "massage":
?>
     <!--  start nav -->
		<div class="nav" style="width:900px;">
		<div class="table" >
		
		<ul class="select">
        <li><a href="<?=base_url()?>admin"><span>Beranda</span></a>
		</li>
		</ul>
		
		<div class="nav-divider">&nbsp;</div>
		                    
		<ul class="select">
        <li><a href="<?=base_url()?>admin/room"><span>Kamar</span></a>
		
		</li>
		</ul>
		
		<div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/staff"><span>Staff</span></a>
		</li>
		</ul>

		<div class="nav-divider">&nbsp;</div>
		
<ul class="select"><li><a href="<?=base_url()?>admin/restaurant"><span>Restaurant</span></a>
		</li>
		</ul>
		
		
		<div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/laundry"><span>Laundry </span></a>
		</li>
		</ul>
                
                <div class="nav-divider">&nbsp;</div>
		
		<ul class="current"><li><a href="<?=base_url()?>admin/massage"><span>Massage</span></a>
		</li>
		</ul>
		
		<div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/utility"><span>Utility</span></a>
		</li>
		</ul>
               
                
                <div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/log"><span>Log</span></a>
		</li>
		</ul>

		<div class="clear"></div>
		</div>
		<div class="clear"></div>
		</div>
    
 <?php
    break;

case "utility":
?>
      <!--  start nav -->
		<div class="nav" style="width:900px;">
		<div class="table" >
		
		<ul class="select">
        <li><a href="<?=base_url()?>admin"><span>Beranda</span></a>
		</li>
		</ul>
		
		<div class="nav-divider">&nbsp;</div>
		                    
		<ul class="select">
        <li><a href="<?=base_url()?>admin/room"><span>Kamar</span></a>
		
		</li>
		</ul>
		
		<div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/staff"><span>Staff</span></a>
		</li>
		</ul>

		<div class="nav-divider">&nbsp;</div>
		
<ul class="select"><li><a href="<?=base_url()?>admin/restaurant"><span>Restaurant</span></a>
		</li>
		</ul>
		
		
		<div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/laundry"><span>Laundry </span></a>
		</li>
		</ul>
                
                <div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/massage"><span>Massage</span></a>
		</li>
		</ul>
		
		<div class="nav-divider">&nbsp;</div>
		
		<ul class="current"><li><a href="<?=base_url()?>admin/utility"><span>Utility</span></a>
		</li>
		</ul>
               
                
                <div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/log"><span>Log</span></a>
		</li>
		</ul>

		<div class="clear"></div>
		</div>
		<div class="clear"></div>
		</div>
    
 <?php
    break;

case "log":
?>
      <!--  start nav -->
		<div class="nav" style="width:900px;">
		<div class="table" >
		
		<ul class="select">
        <li><a href="<?=base_url()?>admin"><span>Beranda</span></a>
		</li>
		</ul>
		
		<div class="nav-divider">&nbsp;</div>
		                    
		<ul class="select">
        <li><a href="<?=base_url()?>admin/room"><span>Kamar</span></a>
		
		</li>
		</ul>
		
		<div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/staff"><span>Staff</span></a>
		</li>
		</ul>

		<div class="nav-divider">&nbsp;</div>
		
<ul class="select"><li><a href="<?=base_url()?>admin/restaurant"><span>Restaurant</span></a>
		</li>
		</ul>
		
		
		<div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/laundry"><span>Laundry </span></a>
		</li>
		</ul>
                
                <div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/massage"><span>Massage</span></a>
		</li>
		</ul>
		
		<div class="nav-divider">&nbsp;</div>
		
		<ul class="select"><li><a href="<?=base_url()?>admin/utility"><span>Utility</span></a>
		</li>
		</ul>
               
                
                <div class="nav-divider">&nbsp;</div>
		
		<ul class="current"><li><a href="<?=base_url()?>admin/log"><span>Log</span></a>
		</li>
		</ul>

		<div class="clear"></div>
		</div>
		<div class="clear"></div>
		</div>
    
 <?php
    break;

default:
  echo "error, dimohon untuk menghubungi administrator anda";
}
}
?>
